package server.qiang.test;

import server.qiang.email.Checkmail;

import javax.mail.NoSuchProviderException;

public class testCheckMail {
	public static void main(String[] args) throws NoSuchProviderException {
		Checkmail checkmail = new Checkmail();
		String x = "smtp.163.com";
		String y = "13570212273@163.com";
		String z = "pcq325=118";
		if (checkmail.sendcheckMail(x, y, z)) {
			System.out.println("成功");
		} else {
			System.out.println("失败");
		}

	}
}
